package com.hq.fxh.Modle;

/**
 * /**
 *
 * @author 薛
 * @ClassName
 * @Description :
 * @Created 2017/8/16
 * @Email xlwenhao1858@sina.com
 */


import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;



/**
 * @author 小谢
 * @ClassName GetEntertainmentListResInfo
 * @Description :
 * @Created 2017/3/30 0030
 */

public class GetEntertainmentListResInfo implements Serializable, Parcelable {
    private String nickname;
    private String head_img_url;
    private String subject_id;
    private String subject_title;
    private String subject_item_count;
    private String subject_img_url;
    private String subject_ext;
    private int action_num;
    private int up_num;
    private int down_num;
    private int comment_count;
    private int state;
    private String share_url;
    private int ext_state;

    public int getExt_state() {
        return ext_state;
    }

    public void setExt_state(int ext_state) {
        this.ext_state = ext_state;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHead_img_url() {
        return head_img_url;
    }

    public void setHead_img_url(String head_img_url) {
        this.head_img_url = head_img_url;
    }

    public String getSubject_id() {
        return subject_id;
    }

    public void setSubject_id(String subject_id) {
        this.subject_id = subject_id;
    }

    public String getSubject_title() {
        return subject_title;
    }

    public void setSubject_title(String subject_title) {
        this.subject_title = subject_title;
    }

    public String getSubject_item_count() {
        return subject_item_count;
    }

    public void setSubject_item_count(String subject_item_count) {
        this.subject_item_count = subject_item_count;
    }

    public String getSubject_img_url() {
        return subject_img_url;
    }

    public void setSubject_img_url(String subject_img_url) {
        this.subject_img_url = subject_img_url;
    }

    public String getSubject_ext() {
        return subject_ext;
    }

    public void setSubject_ext(String subject_ext) {
        this.subject_ext = subject_ext;
    }

    public int getAction_num() {
        return action_num;
    }

    public void setAction_num(int action_num) {
        this.action_num = action_num;
    }

    public int getUp_num() {
        return up_num;
    }

    public void setUp_num(int up_num) {
        this.up_num = up_num;
    }

    public int getDown_num() {
        return down_num;
    }

    public void setDown_num(int down_num) {
        this.down_num = down_num;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getShare_url() {
        return share_url;
    }

    public void setShare_url(String share_url) {
        this.share_url = share_url;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.nickname);
        dest.writeString(this.head_img_url);
        dest.writeString(this.subject_id);
        dest.writeString(this.subject_title);
        dest.writeString(this.subject_item_count);
        dest.writeString(this.subject_img_url);
        dest.writeString(this.subject_ext);
        dest.writeInt(this.action_num);
        dest.writeInt(this.up_num);
        dest.writeInt(this.down_num);
        dest.writeInt(this.comment_count);
        dest.writeInt(this.state);
        dest.writeString(this.share_url);
        dest.writeInt(this.ext_state);
    }

    public GetEntertainmentListResInfo() {
    }

    @Override
    public String toString() {
        return "GetEntertainmentListResInfo{" +
                "nickname='" + nickname + '\'' +
                ", head_img_url='" + head_img_url + '\'' +
                ", subject_id='" + subject_id + '\'' +
                ", subject_title='" + subject_title + '\'' +
                ", subject_item_count='" + subject_item_count + '\'' +
                ", subject_img_url='" + subject_img_url + '\'' +
                ", subject_ext='" + subject_ext + '\'' +
                ", action_num=" + action_num +
                ", up_num=" + up_num +
                ", down_num=" + down_num +
                ", comment_count=" + comment_count +
                ", state=" + state +
                ", share_url='" + share_url + '\'' +
                ", ext_state=" + ext_state +
                '}';
    }

    protected GetEntertainmentListResInfo(Parcel in) {
        this.nickname = in.readString();
        this.head_img_url = in.readString();
        this.subject_id = in.readString();
        this.subject_title = in.readString();
        this.subject_item_count = in.readString();
        this.subject_img_url = in.readString();
        this.subject_ext = in.readString();
        this.action_num = in.readInt();
        this.up_num = in.readInt();
        this.down_num = in.readInt();
        this.comment_count = in.readInt();
        this.state = in.readInt();
        this.share_url = in.readString();
        this.ext_state = in.readInt();
    }

    public static final Parcelable.Creator<GetEntertainmentListResInfo> CREATOR = new Parcelable.Creator<GetEntertainmentListResInfo>() {
        @Override
        public GetEntertainmentListResInfo createFromParcel(Parcel source) {
            return new GetEntertainmentListResInfo(source);
        }

        @Override
        public GetEntertainmentListResInfo[] newArray(int size) {
            return new GetEntertainmentListResInfo[size];
        }
    };
}

